import sys

platform_info = sys.platform
print("platform", platform_info)

if platform_info == "Linux" or platform_info == "Linux2":
    print("Running on Linux")
elif platform_info == "Darwin":
    print("Running on MacOS")
elif platform_info == "win32":
    print("Running on Windows")
else:
    print("Running on", platform_info)
